<form name="currencyCalendarForm">
<div  ng-init="vm.init()" fs-aside>
	<fs-buttons fs-buttons-config="vm.layoutConfig.buttonConfigs.buttonGroup"></fs-buttons>
    
    <fs-grid-layout ng-model="vm.currencyCalendar" fs-config="vm.layoutConfig.formConfigs.general" fs-validator-config="vm.validatorConfig"></fs-grid-layout>
    
    <div class="panel-heading">{{'title.fgroup.calendar.yearInfo'|translate}}</div>
    <table style="border:0px;width:400px;margin-top: 10px;margin-bottom: 10px;">
		<tr>
			<td style="width:180px;"><label>{{'label.calendar.updateyear'|translate}}:</label></td>
			<td><select ng-model="updateCalendarYear" ng-options="option.value as option.label for option in yearListChanged"></select></td>
			<td ng-show="updateCalendarYear == '-1'">
				<input type="number" onkeyup="this.value =this.value.replace(/[^\d]/g,'') " name="points" min="1990" max="2100" ng-model="calendarYear" size="4"> 
			</td>
			<td>
				<button type="button" class="btn btn-link btn-sm" ng-click="vm.switchNewYearCalendar()">{{'button.text.go'|translate}}</button>
			</td>
		</tr>
	</table>
	
    <fs-grid-layout ng-model="vm.currencyCalendar" fs-config="vm.layoutConfig.formConfigs.holidays" fs-validator-config="vm.validatorConfig"></fs-grid-layout>
</div>
</form>